package com.hzp.net.client;

import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;

public class Handler {

    private SelectionKey key;
    private Selector selector;

    public Handler(SelectionKey key,Selector selector) {
        this.key = key;
        this.selector = selector;
    }

    public SelectionKey getKey() {
        return key;
    }

    public Selector getSelector() {
        return selector;
    }
}
